a11y: Track window states more closely
authorMatthias Clasen <mclasen@redhat.com>
Sat, 17 Apr 2021 19:23:04 +0000 (15:23 -0400)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 19 Apr 2021 18:22:20 +0000 (19:22 +0100)
commit9e8187bdc4ce5a50113a448a0f0bc70bdabbea26
treef0a32229170fdb0ddd604c755edec3f0435b42ca
parent9fbd11e1be721953758b6154178d03d04bbfe54b
a11y: Track window states more closely

Orca ignores events unless the object is inside an object
with role window and states ACTIVE and SHOWING. To arrange
for this, introduce a new ACTIVE platform state, and set it
for windows when they are active.

This gets orca to be a lot more talkative.
gtk/a11y/gtkatspicontext.c
gtk/gtkatcontextprivate.h
gtk/gtkentry.c
gtk/gtkpasswordentry.c
gtk/gtksearchentry.c
gtk/gtkspinbutton.c
gtk/gtktestatcontext.c
gtk/gtkwidget.c
gtk/gtkwindow.c